package com.wanglemei.mail.service.impl;

import com.wanglemei.mail.service.ISendMailService;
import com.wanglemei.mail.util.EmailAuthenticator;
import com.wanglemei.mail.util.EmailServer;
import com.wanglemei.mail.util.SendMail;

public class SendMailServiceImpl  implements ISendMailService
{

	@Override
	public boolean sendMail(String to, String mailSubject, String mailContent, EmailServer emailServer, EmailAuthenticator mailauth)throws Exception
	{
		       return     SendMail.send(to, mailSubject, mailContent, emailServer, mailauth);
	}

}
